package com.minio.miniospringboot.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * @author Bang
 * @ClassName: MinioProperties
 * @Date: 2023/03/15 17:27
 * @Version: 1.0
 * @Modified By:
 */
@Data
@ConfigurationProperties(prefix = "minio")
@Component
public class MinioProperties implements Serializable {

    /**
     * 端点
     */
    private String endpoint;
    /**
     * 用户名
     */
    private String accessKey;
    /**
     * 密码
     */
    private String secretKey;

    /**
     * 桶名称
     */
    private String bucket;

    private String gateway;

    private String bucketPolicy;




}
